﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;

namespace qqdest.utils
{
    public static class PhoneUtil
    {
        public static bool IsValidPhoneNumber(string phoneNumber)
        {
            string pattern = @"^1[3-9]\d{9}$";
            Regex regex = new Regex(pattern);
            return regex.IsMatch(phoneNumber);
        }
    }
}
